#!python
dist = {}
f = open("exac.txt")
lines = f.readlines()
for line in lines:
	line = line.strip('\n')
	array = line.split("\t")
	dist[str(array[0])+":"+str(array[1])+str(array[2])+"/"+str(array[3])] = str(array[4])+"\t"+str(array[5])+"\t"+str(array[6])+"\t"+str(array[7])+"\t"+str(array[8])+"\t"+str(array[9])+"\t"+str(array[10])+"\t"+str(array[])
f.close()

f = open("mutation.txt")
lines = f.readlines()
for line in lines:
	line = line.strip('\n')
	array = line.split("\t")
	buf = array[0].split("-")
	if buf[0]+array[1] in dist:
		print(str(dist[buf[0]+array[1]])+"\t"+line)
	else:
		print(".\t.\t.\t.\t.\t.\t.\t.\t"+line)
f.close()